package com.wjj.sixinone.common.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DepartmentExcel {
    @ExcelProperty(value = "部门名称", index = 0)

    private String departmentName;
    @ExcelProperty(value = "部门负责人", index = 1)

    private String departmentHead;
    @ExcelProperty(value = "创建人", index = 2)
    private String createUser;
    @ExcelProperty(value = "更新人", index = 3)
    private String updateUser;
    @ExcelProperty(value = "创建时间", index = 4)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ExcelProperty(value = "更新时间", index = 5)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime updateTime;
}
